/*
 * Created on Mar 17, 2009
 */
package ro.letsdoitromania;

import javax.microedition.lcdui.Font;

/**
 * Paint arguments.
 *
 * @author CristiS
 * @version 1.0
 */
public class WelcomePaintArgs {
  // selection modes
  
  // select by changing background to selectedColor
  public static final int SELMODE_BG = 0;
  // select by drawing a rectangle using selectedColor
  public static final int SELMODE_RECT = 1;
  
  private int backgroundColor;
  private int textColor;
  private int lineColor;
  private int selectedColor;
  private Font font;
  private int selectionMode;
  
  /**
   * Constructor.
   */
  public WelcomePaintArgs() {
    backgroundColor = 0xDDF7FF;
    textColor = 0x000000;
    lineColor = 0xAAD0DC;
    selectedColor = 0xAAD0DC;
    font = Font.getFont(Font.FACE_PROPORTIONAL, Font.STYLE_PLAIN, Font.SIZE_SMALL);
    selectionMode = SELMODE_BG;
  }
  
  /**
   * Getter for backgroundColor.
   *
   * @return Returns the value of backgroundColor.
   */
  public int getBackgroundColor() {
    return backgroundColor;
  }
  /**
   * Sets the value of backgroundColor.
   *
   * @param backgroundColor The backgroundColor to set.
   */
  public void setBackgroundColor(int backgroundColor) {
    this.backgroundColor = backgroundColor;
  }
  /**
   * Getter for textColor.
   *
   * @return Returns the value of textColor.
   */
  public int getTextColor() {
    return textColor;
  }
  /**
   * Sets the value of textColor.
   *
   * @param textColor The textColor to set.
   */
  public void setTextColor(int textColor) {
    this.textColor = textColor;
  }
  /**
   * Getter for lineColor.
   *
   * @return Returns the value of lineColor.
   */
  public int getLineColor() {
    return lineColor;
  }
  /**
   * Sets the value of lineColor.
   *
   * @param lineColor The lineColor to set.
   */
  public void setLineColor(int lineColor) {
    this.lineColor = lineColor;
  }
  /**
   * Getter for selectedColor.
   *
   * @return Returns the value of selectedColor.
   */
  public int getSelectedColor() {
    return selectedColor;
  }
  /**
   * Sets the value of selectedColor.
   *
   * @param selectedColor The selectedColor to set.
   */
  public void setSelectedColor(int selectedColor) {
    this.selectedColor = selectedColor;
  }
  /**
   * Getter for font.
   *
   * @return Returns the value of font.
   */
  public Font getFont() {
    return font;
  }
  /**
   * Sets the value of font.
   *
   * @param font The font to set.
   */
  public void setFont(Font font) {
    this.font = font;
  }
  /**
   * Getter for selectionMode.
   *
   * @return Returns the value of selectionMode.
   */
  public int getSelectionMode() {
    return selectionMode;
  }
  /**
   * Sets the value of selectionMode.
   *
   * @param selectionMode The selectionMode to set.
   */
  public void setSelectionMode(int selectionMode) {
    this.selectionMode = selectionMode;
  }
}
